<html>

<head>
	<title>待制证</title>
	<meta charset="UTF-8" />
	<link rel="stylesheet" media="screen" href="../../../../static/lib/bootstrap/css/bootstrap-datetimepicker.min.css" />
	<link rel="stylesheet" href="assets/css/bootstrap.min.css" />
	<link rel="stylesheet" href="../../../../static/lib/validate.css" />
	<link rel="stylesheet" href="css/reset.css" />
	<link rel="stylesheet" href="css/common.css" />
	<link rel="stylesheet" href="css/approvallist.css" />
	<script type="text/javascript" src='assets/js/jquery.min.js'></script>
	<script type="text/javascript" src="assets/js/bootstrap-datetimepicker.js" charset="UTF-8"></script>
	<script type="text/javascript" src="assets/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
	<script type="text/javascript" src='assets/js/bootstrap.min.js'></script>
	<script type="text/javascript" src="assets/js/upload.js"></script>
	<script type="text/javascript" src="assets/js/jquery.qrcode.min.js"></script>
	<script type="text/javascript" src="assets/js/jquery.validate.min.js"></script>
	<script type="text/javascript" src="assets/js/messages_bs_zh.js"></script>
	<script type="text/javascript" src="assets/js/jquery.printarea.js"></script>
	<script type="text/javascript" src='js/applicationprocess.js'></script>
	<script type="text/javascript" src="js/util.js"></script>
	<script type="text/javascript" src="js/base.js"></script>
	<!--打印的样式-->
	<style>


	</style>
	<!--以上是打印的样式-->
</head>

<body>
	<div class="content">
		<div class="page-subcate-list">
			<div class="page-subcate-item">
				<label>预约日期</label>
				<div class="form-item">
					<div id="inputStartDate" class="input-group date form_date col-md-1" data-date="" data-date-format="yyyy-mm-dd" data-link-field="dtp_input2" data-link-format="yyyy-mm-dd">
						<input class="form-control" size="16" type="text" id="startDate" value="" readonly>
						<span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
						<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
					</div>
					<input type="hidden" id="dtp_input2" value="" />
				</div>
				<label>证件号</label>
				<div class="form-item">
					<input type="text" class="form-control" id="cardNO" placeholder="" value="">
				</div>
				<label>订单号</label>
				<div class="form-item">
					<input type="text" class="form-control" id="num" placeholder="" value="">
					<div class="pull-right">
						<button onclick="javascript:search();" class="pull-left btn">查询</button>
					</div>
				</div>
			</div>
		</div>
		<table class="table table-bordered">
			<thead>
				<tr>
					<th>订单</th>
					<th>姓名</th>
					<th>取证日期</th>
					<th>订单类型</th>
					<th>申请方式</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach items="${data.content}" var="item" varStatus="status">
					<tr id="${item.id}">
						<td>${item.num}</td>
						<td>${item.name}</td>
						<td>${item.appointmenDate}</td>
						<td>
							<c:if test="${item.applyType == 10}">首次</c:if>
							<c:if test="${item.applyType == 20}">换发</c:if>
							<c:if test="${item.applyType == 30}">补发</c:if>
						</td>
						<td>
							<c:if test="${item.applyForm == 1}">在线</c:if>
							<c:if test="${item.applyForm == 2}">现场</c:if>
						</td>
						<td align="center">
							<c:if test="${item.status==10}">
								<button type="button" itemid="225" itemname="张佳宝" itempassportno="310000001000010004" sex="女" itembirthday="19920318" itemsingaddress="上海市黄浦区普育西路105号" itemsigndate="2016-11-04" itemsignunti="公益新天地" status="11" class="print_accreditationbtn_item btn btn-primary btn-sm">
									制证
								</button>
								<button type="button" disabled class="print_reviewbtn_item btn btn-primary btn-sm" >
									复核
								</button>
								<button type="button" class="print_remakebtn_item btn btn-primary btn-sm" id='0'>
									重制
								</button>
							</c:if>
							<!-- <c:if test="${item.status==11}">
								<button type="button" disabled class="common_btn_item btn btn-primary btn-sm">
									制证
								</button>
								<button type="button" class="common_btn_item btn btn-primary btn-sm" data-toggle="modal" onclick="javascript:detail('myModal_${item.id}')">
									复核
								</button>
							</c:if> -->
						</td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
		<input class='aaa_input' type='text'>
		<button class='aaa'>aaaa</button>
		<select class='selector' style='width:100px;'>
			<option>aaaa</option>
			<option>bbbb</option>
		</select>
		<tags:pagination page="${data}" paginationSize="5" />
	</div>
	<!-- /.modal -->
	<div class="print_statistics_wrapper modal fade" tabindex="-1" role="dialog" aria-labelledby="printFinsh" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
					<h4 class="modal-title" id="printFinsh"></h4>
				</div>
				<div class='modal-body'>
					<p class='text-center'>
						确定要打印吗？
					</p>
				</div>
				<input type="hidden" class="_ID" value="">
				<input type="hidden" class="_STATUS" value="">
				<div class="modal-footer">
					<a href="javascript:;" class="btn btn-default" data-dismiss="modal">取消</a>
					<a href="javascript:;" class="print_next_item btn btn-primary">确定</a>
				</div>
			</div>
		</div>
	</div>
	<div class="print_preview_wrapper modal fade" tabindex="-1" role="dialog" aria-labelledby="printFinsh" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
					<h4 class="modal-title" id="printFinsh"></h4>
				</div>
				<div class="modal-body">
					<div class='print_product_container'>
						<div class='print_product_wrapper'>
							<p>实际打印视图</p>
							<div class='print_page_wrapper' id='dyobj'>
								<div class="my_show">
									<p>
										<span class="name span1"></span>
										<span class="passportNO span1"></span>
										<span class="qrcode" style="position:absolute;top:0;right:0;"></span>
									</p>
									<p>
										<span class="sex span1"></span>
										<span class="span3">中国</span>
										<span class="birthday"></span>
									</p>
									<p>
										<span class="signAddress span2">上海</span>
										<span class="signDate"></span>
									</p>
									<p>
										<span class="signUnti"></span>
									</p>
								</div>
							</div>
						</div>
					</div>
					<div class='print_settings_wrapper'>
						<a class='print_settingsbtn_item btn btn-default'>打印设置</a>
						<div class="maincontent">
							<ul>
								<li>
									<p>左边距</p>
									<div class='print_leftpadding_wrapper ybcommon_counter_item'>
										<a href="javascript:;">-</a>
										<input type='text' value='0'>
										<a href="javascript:;">+</a>
									</div>
								</li>
								<li>
									<p>上边距</p>
									<div class='print_toppadding_wrapper ybcommon_counter_item'>
										<a href="javascript:;">-</a>
										<input type='text' value='0'>
										<a href="javascript:;">+</a>
									</div>
								</li>
							</ul>
						</div>
					</div>
					<p class='text-center'>确定要制作此证件吗？</p>
					<p class='text-center'>请将空白护照放入打印机后点击打印</p>
				</div>
				<input type="hidden" class="_ID" value="">
				<input type="hidden" class="_STATUS" value="">
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
					<button type="button" class="print_printbtn_item btn btn-primary">打印</button>
				</div>
			</div>
		</div>
	</div>
	<div class="print_confirm_wrapper modal fade" tabindex="-2" role="dialog" aria-labelledby="myModalLabel3" aria-hidden="true">
		<div class="passport_certidetail_wrapper modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<h4 class="modal-title" id="myModalLabel3"></h4>
				</div>
				<div class="modal-body">
					<p class='text-center'>是否已成功打印？</p>
				</div>
				<div class="modal-footer">
					<button class="print_faildbtn_item btn-default btn" type="button">否</button>
					<button class="print_successbtn_item btn btn-approlist_save_item btn-primary" type="button" data-dismiss="modal">是</button>
				</div>
			</div>
		</div>
	</div>
	<c:forEach items="${data.content}" var="item" varStatus="status">
		<div class="modal fade" id="myModal_${item.id}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel_txt_${item.id}" aria-hidden="true">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
					<h4 class="modal-title" id="myModalLabel_txt_${item.id}">护照详情</h4>
				</div>
				<div class="modal-body">
					<dl class="dl-horizontal lead ">
						<dt>护照编号</dt>
						<dd>${item.passportNO}</dd>
						<dt>姓名</dt>
						<dd>${item.name}</dd>
						<dt>性别</dt>
						<dd>${item.sex}</dd>
						<dt>证件类型</dt>
						<dd>身份证</dd>
						<dt>证件编号</dt>
						<dd>${item.cardNO}</dd>
						<dt>出生日期</dt>
						<dd>${item.birthday}</dd>
					</dl>
				</div>
				<div class="modal-footer">
					<button class="btn btn-default" type="button" data-dismiss="modal" onclick="javascript:checkAgainPrint('${item.id}')">重新制证</button>
					<button class="print_reviewedbtn_item btn btn-primary" type="button" onclick="javascript:checkOK('${item.id}','20');">复核完成</button>
				</div>
			</div>
		</div>
	</c:forEach>
	<div class="print_statistics_wrapper modal fade" tabindex="-1" role="dialog" aria-labelledby="printFinsh" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
					<h4 class="modal-title"></h4>
				</div>
				<div class='modal-body'>
					<p class='text-center'>
						确定要打印吗？
					</p>
				</div>
				<input type="hidden" class="_ID" value="">
				<input type="hidden" class="_STATUS" value="">
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
					<button type="button" class="print_next_item btn btn-primary">下一步</button>
				</div>
			</div>
		</div>
	</div>

	<div class="print_preview_wrapper modal fade" tabindex="-1" role="dialog" aria-labelledby="printFinsh" aria-hidden="true">
		<div class="passport_certidetail_wrapper modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
					<h4 class="modal-title" id="printFinsh"></h4>
				</div>
				<div class="modal-body">
					<!--startprint1-->
					<div class='print_product_container'>
						<div class='print_product_wrapper' >
							<p>实际打印视图</p>
							<!--start printsetting-->
							<div class='print_page_wrapper'>
								<div class="my_show" id='dyobj'>
									<p>
										<span class="name span1"></span>
										<span class="passportNO span1"></span>
										<span class="qrcode" style="position:absolute;top:0;right:0;"></span>
									</p>
									<p>
										<span class="sex span1"></span>
										<span class="span3">中国</span>
										<span class="birthday"></span>
									</p>
									<p>
										<span class="signAddress span2">上海</span>
										<span class="signDate"></span>
									</p>
									<p>
										<span class="signUnti"></span>
									</p>
								</div>
							</div>
						</div>
					</div>
					<div class='print_settings_wrapper'>
						<a class='print_settingsbtn_item btn btn-default'>打印设置</a>
						<div class="maincontent">
							<ul>
								<li>
									<p>左边距</p>
									<div class='print_leftpadding_wrapper ybcommon_counter_item'>
										<a href="javascript:;">-</a>
										<input type='text' value='0'>
										<a href="javascript:;">+</a>
									</div>
								</li>
								<li>
									<p>上边距</p>
									<div class='print_toppadding_wrapper ybcommon_counter_item'>
										<a href="javascript:;">-</a>
										<input type='text' value='0'>
										<a href="javascript:;">+</a>
									</div>
								</li>
							</ul>
						</div>
					</div>
					<!--endprint1-->
				</div>
				<input type="hidden" id="_ID" value="">
				<input type="hidden" id="_STATUS" value="">
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
					<button type="button" class="print_printbtn_item btn btn-primary" >打印</button>
				</div>
			</div>
		</div>
	</div>

	<div class="print_confirm_wrapper modal fade" tabindex="-2" role="dialog" aria-labelledby="myModalLabel3" aria-hidden="true">
		<div class="passport_certidetail_wrapper modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<h4 class="modal-title" id="myModalLabel3"></h4>
				</div>
				<div class="modal-body">
					<p class='text-center'>是否已成功打印？</p>
				</div>
				<div class="modal-footer">
					<button class="print_faildbtn_item btn btn-default" type="button">否</button>
					<button class="print_successbtn_item btn btn-primary" type="button" data-dismiss="modal">是</button>
				</div>
			</div>
		</div>
	</div>
</body>

</html>

